package com.yourenbang.transaction.api.model.dto.transaction;

import lombok.Data;

import java.util.List;

/**
 * Created on 2023/4/3
 *
 * @author qinmingtao
 * desc 获取商户分润交易额
 */
@Data
public class QueryMerchantProfitTransactionAmountDTO {
    /**
     * 要查询的月份，如果为空，则查全部
     */
    private String month;
    /**
     * 商户信息列表
     */
    private List<QueryMerchantInfo> merchantList;

    public static class QueryMerchantInfo {
        /**
         * 用户ID
         */
        private final String userBaseId;
        /**
         * 商户号
         */
        private final String merchantNo;

        public QueryMerchantInfo(String userBaseId, String merchantNo) {
            this.userBaseId = userBaseId;
            this.merchantNo = merchantNo;
        }

        public String getUserBaseId() {
            return userBaseId;
        }

        public String getMerchantNo() {
            return merchantNo;
        }
    }
}
